<?php
/**
 * Date.php
 * 
 * @category    Madoqua
 * @package     View
 * @subpackage  Helper
 */

/** base class */
require_once 'Madoqua/View/Helper/Abstract.php';

/** zend date */
require_once 'Zend/Date.php';

/**
 * Madoqua_View_Helper_Date
 * 
 * @category    Madoqua
 * @package     View
 * @subpackage  Helper
 */
class Madoqua_View_Helper_Date extends Madoqua_View_Helper_Abstract {

    /**
     * return the date in a normalized fashion
     *
     * @param string $date
     * @return string
     */
    public function date($date) {
        return (string) new Zend_Date($date);
    }
}